body {
	padding: 0;
	margin: 0;
	font-family: sans-serif;
	width: 640px;
}

body.miniview {
	background: #000 !important;
}

a{
	outline: none;
	text-decoration: none;
	border: none;
}

.clear {
	clear: both !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hidden {
    height:0!important;
    width:0!important;
    border:none!important;
	visibility:hidden!important;
	display: none!important;
}

.center {
	text-align: center; 
	padding: 0px 10px;
}

/* INPUT */
input {
	font-size: 18px;
	color: #666;
	border-top: 2px solid #b3b4b4;
	border-bottom: 2px solid #dadadb;
	border-left: 2px solid #b3b4b4;
	border-right: 2px solid #dadadb;
	margin: 2px;
	padding: 8px 0 8px 8px;
}

/* BUTTONS */
.button {
	background: url("img/btn-generic.png") no-repeat center center;
	display: inline-table;
	height: 48px;
	width: 133px;
	color: #272727;
}
.button.pressed {
    background: url("img/btn-generic-active.png") no-repeat center center;
}
.button .button_text {
	display: table-cell;
	font-weight: bold;
	font-size: 18px;
	vertical-align: middle;
	text-align: center;
	padding-bottom: 4px;
	color: #272727;
}

.button .button_left {
	width: 10px;	
	display: table-cell;
}
.button .button_right {
	width: 10px;	
	display: table-cell;
}

.popup_buttons_container {
	width: 100%;
	text-align: center;
}

.btn_description {
	background:url("img/btn-info.png") no-repeat 196px 18px;
	color:#272727;
	display:block;
	font-size:14px;
	font-weight:bold;
	height:49px;
	padding:10px;
	position:absolute;
	right:-7px;
	text-align:center;
	top:169px;
	vertical-align:middle;
	width:239px;
}

.btn_description_img {
	position: absolute;
	top: 0;
	left: 0;
}

.btn_description_text {
	left:0;
	position:absolute;
	width:100%;
}

.btn_description.pressed {
	background: url(img/btn-info-active.png) no-repeat 196px 18px;
}

.btn_back {
	position: fixed;
	right: 0px;
	top: 10px;
	display: block;
	width: 70px;
	height: 45px;
	background: url(img/back-arrow.png) no-repeat center center;	
}
.btn_back.pressed {
    background: url(img/back-arrow-active.png) no-repeat center center;
}

.network_indicator {
	background:url("img/connection-none.png") no-repeat scroll 0 0 transparent;
	display:inline-block;
	height:21px;
	left:9px;
	margin:8px 3px;
	position:absolute;
	top:9px;
	width:42px;
}

.network_indicator.wifi {
	background: url(img/connection-wifi-3g.png) no-repeat;
}

.network_indicator.offline {
	background: url(img/connection-offline.png) no-repeat;
}

.network_indicator.g3 {
	background: url(img/connection-3g.png) no-repeat;
}

.network_indicator.g2 {
	background: url(img/connection-2g.png) no-repeat;
}

.top_line {
	width: 640px;
	height: 108px;
	position: fixed;
	top: 0;
	left: 0;
}

#horizontalSeparator {
	width: 640px;
	height: 6px;
	background: url(img/main-area-top.png);
	background-repeat: repeat-x; 
	position: fixed;
	top: 104px;
	left: 0px;
	z-index: -200;
}

.logo_container {
	background:url("img/logo.png") no-repeat scroll center center transparent;
	height:45px;
	left:70px;
	position:absolute;
	top:5px;
	width:154px;
}

.tabs_arrow {
	 background: url(img/arrow-left-disabled.png) no-repeat 3px center;
	 width: 24px;
	 height: 24px;
	 display: block;
	 top: 62px;
	 position:absolute;
	 padding: 20px 15px 5px 0;
}

.tabs_arrow.selected {
    background-image: url(img/arrow-left.png);
}

.tabs_arrow.selected.pressed {
	background-image: url(img/arrow-left-active.png);
}

.tabs_arrow.right {
	background: url(img/arrow-right-disabled.png) no-repeat 2px center;
	position: absolute;
	left: 611px;
    padding: 20px 0 5px 5px;
}

.tabs_arrow.right.selected {
    background-image: url(img/arrow-right.png);
}

.tabs_arrow.right.selected.pressed {
	 background-image: url(img/arrow-right-active.png);
}

.tabs_container {
	position: absolute;
	text-align: left;
	display: inline-block;
	top: 57px;
	left: 31px;
}

.tabs {
	overflow-y: hidden;
	overflow-x: scroll;
	white-space: nowrap;
	width: 580px;
	height: 102px;
}

.top_button {
	height: 52px;
	width: 122px;
	padding-top: 22px;
	text-align: center;
	background: url("img/tab-bg.png") no-repeat;
	background-position: 0px 5px;
	display: inline-block;
	text-align: center;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: bold;
}

.top_button_search {
	padding-top: 10px;
	vertical-align: top;
	position: relative;
}

.top_button.selected, .top_button.pressed {
	height: 57px;
	margin-top: 0px;
	background: url("img/active-tab-bg.png") no-repeat center 3px;
	font-size: 17px;
}

.top_button.search_tab {
	width: 130px;
}

.top_button_text {
	vertical-align: middle;
	min-width: 118px;
	display: table-cell;
}

.top_button .delete_tab {
	display: none;
	height: 40px;
	position: absolute;
	right: 3px;
	top: 6px;
	width: 60px;
}

.top_button.selected .delete_tab {
	display: block;
}

.top_button.keynav .top_button_text {
}

.top_icon {
	margin-top: 15px;
}

.top_icon.right {
	float: right;
	top:0;
	z-index: 999;
}

.top_icon.left {
	float: left;
}

#right_menu {
	background: url(img/header-button-menu.png) center center no-repeat;
	position: fixed;
	left: 548px;
	width: 35px;
	height: 36px;
	z-index: 11000;
}

#right_menu.pressed {
  background: url(img/header-button-menu-active.png) center center no-repeat;
}

#exit_button, #exit_button_splash {
	background: url(img/header-button-close.png) center center no-repeat;
	position: fixed;
	left: 592px;
	top: 0px;
	width: 35px;
	height: 36px;
}

#exit_button.pressed, #exit_button_splash.pressed {
  background: url(img/header-button-close-active.png) center center no-repeat;
}

.content {
	position: fixed;
	top: 109px;
	left: 0px;
	background: #000000;
	padding-top: 4px;
}

.navigation_arrow {
	width: 38px;
	height: 76px;
	position: fixed;
	top: 172px;
	left: 5px;
	display: block;
}

.navigation_arrow.right {
	left: auto;
	right: 5px;
}

.items_container {
	width: 640px;
	height: 280px;
	text-align:left;
}

.items_container table tr td{
	vertical-align: top;
}

.items_scroller_top {	
	height: 6px;
	width: 640px;
}

.items_scroller {
	height: 360px;;
	width: 640px;
	overflow-y: hidden;
	overflow-x: auto;
	white-space: nowrap;
	background: black;
}

.item {
	text-align: center;
	float: left;
	width: 250px;
	height: 238px;
	margin: 8px 15px 0px 15px;
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
	margin-right: -4px;
	z-index: 2;
	background: url("img/video-bg.png") no-repeat;
	background-position: 0px 25px;
}

.item .outline {
	width: 184px;
	height: 260px;
	text-align: center;
	float: left;
	padding: 0 8px 8px;	
	position: relative;
	overflow-y: auto;
	overflow-x: hidden;
	margin-right: -4px;
	z-index: 2;
}

.item_image {
	text-align: center;
	width: 240px;
	height: 135px;
	position: absolute;
	top: 30px;
	left: 5px;
	background: #000;
}

.item_image img {
	max-width: 100%;
	max-height: 100%;
}

.item_image img.force_resize {
	width: 100%;
	height: 100%;
}

.play_badge {
	background:url("img/overlay_play.png") no-repeat scroll center center transparent;
	position:absolute;
	top: 0px;
	left: 0px;
	width: 240px;
	height: 135px;
}

.channel_badge {
	background:url("img/overlay-channel.png") no-repeat scroll bottom center transparent;
	position:absolute;
	top: 0px;
	left: 0px;
	width: 240px;
	height: 135px;
}

.item .item_title {
	width: 250px;
	position: absolute;
	top: 0px;
	font-family: sans-serif;
	font-size: 20px;
	text-align: center;
	padding: 3px 0;
	white-space: normal;
	margin-top: 0px;
	height: 22px;
	overflow: hidden;
}

.item .item_subtitle {
	font-size: 17px;
	text-align: left;
	padding: 3px 0;
	white-space: normal;
	position: absolute;
	top: 170px;
	left: 5px;
	font-family: sans-serif;
	width: 170px;
	height: 48px;
}

.item .item_description {
	font-size: 17px;
	font-weight: bold;
	text-align: left;
	white-space: normal;
	min-height: 112px;
}

.item .item_duration {
	bottom:53px;
	color:white;
	font-size:11px;
	position:absolute;
	right:5px;
	width:48px;
}

.item.selected .item_description {
	min-height:0;
}

.episodes_title {
	color:#FFFFFF;
	display:block;
	font-size:17px;
	font-weight:bold;
	padding:15px 17px 10px 16px;
	width:100%;
}

.episode_episodes {
	vertical-align: top;
	width: 444px;
	padding-left: 15px;
}

.episodes_scroller {
	width: 100%;
	height: 280px;
	overflow: auto;
	position:relative;
	z-index: 3;
}

.item_desc {
	text-align: left;
	white-space: normal;	
	padding: 0 8px 8px;
	display: none;
}

.selected .item_desc {
	display: block;	
}

/* DESCRIPTION SCREEN */

#description_screen, #episodes_screen {
	height: 313px;
	padding-top: 5px;
	text-align: left;
	width: 640px;
	position: absolute;
	top: -42px;
	background-color: black;
	background: #000 url(img/main-area-top.png) repeat-x 0 -4px;
	z-index: 2;
}

#description_screen {
	overflow-x: hidden;
	overflow-y: auto;
	padding-bottom: 20px;
	padding-right: 20px;
	padding-left: 20px;
	width: 620px;
}

.description_left {
	float: left;
	height: 179px;
	padding: 0 20px;
	text-align: center;
	min-width: 240px;
	position: relative;
}

.description_title {
	font-size: 20px;
	font-weight: bold;
	padding: 15px 0px;
}

.description_img {
	width: 252px;
	height: 192px;
	margin-bottom: 20px;
}

.description_duration {
	font-size:14px;
	position:absolute;
	right:24px;
	top:166px;
}

#description_img.item_image  {
	top: 16px;
	border:5px solid #3D5B66;
}

.description_subtitle {
	font-size: 16px;
	font-weight: bold;
	padding: 5px 0 5px 0;
	display: none;
}

/* MORE INFO */
.top_controls_container {
	display: table;
	width: 100%;
	height: 100%;
}

.top_controls_container  .top_line_title {
	font-size: 22px;
	font-weight: bold;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	height: 58px;
}

.top_controls_container .top_icon {
	display: table-cell;	
}

/* POPUP LOADER */
.popup {
	width: 640px;
	height: 100%;
	position: fixed;
	top: 65px;
	left: 0;
	z-index: 99998;
}

.popup .popup_content {
	font-size: 18px;
	padding: 10px;
	height: 270px;
	overflow: auto;
}

/* Popup */
.popup_loader {
 	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	background: url(img/shadow.png) repeat;
	display: table;
}

.loader_positioner {
	display: table-cell; 
	vertical-align: middle;
	text-align: center;
}

.table_pop_up_loader {
	display:inline-block;
	max-width:85%;
	position:relative;
	
}

b.tl, 
b.tr, 
b.bl, 
b.br
{ background-repeat: no-repeat; display: block; height: 8px; position: absolute; width: 8px; z-index: 2; }

b.popup_window { height: 8px; width: 8px; }

.loading .loader {
	vertical-align: middle;
	padding:0 10px 0 0;
	text-align:right;
}

.loading .loader_text {
	vertical-align: middle;
	font-size: 18px;
	font-weight: bold;
}

/* ALERT */

.popup_loader.alert .content_text {
	font-size: 18px;
	overflow-y: auto;
}
.alert_table { border-collapse: collapse; display: inline-table; }
.alert_table, .alert_table td { border: 0; }
.alert_corner { width: 15px; height: 15px; }
.alert_corner.nw  { background-image: url(img/dialog/NW.png); }
.alert_corner.ne  { background-image: url(img/dialog/NE.png); }
.alert_corner.sw  { background-image: url(img/dialog/SW.png); }
.alert_corner.se  { background-image: url(img/dialog/SE.png); }
.alert_top_border, .alert_bottom_border { height: 15px; }
.alert_top_border    { background-image: url(img/dialog/top-border.png); }
.alert_bottom_border { background-image: url(img/dialog/bottom-border.png); }
.alert_left_border, .alert_right_border { width: 15px; }
.alert_left_border  { background-image: url(img/dialog/left-border.png); }
.alert_right_border { background-image: url(img/dialog/right-border.png); }
.alert_table .popup_content {
    background-color: #000;
    padding: 15px;
    max-height: 270px;
    max-width: 550px;
}
.alert_table .alert_buttons { 
	text-align: center;
	margin-bottom:-12px;
	padding-top:10px;
}

/* POPUP MENU */
.popup_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 640px;
	height: 360px;
	z-index: 9999;
}

.soft_menu_container {
	display: table;
	width: 284px;
	height: 259px;
	position: absolute;
	right: 49px;
	top: 11px;
	background: url(img/menu-bg.png) no-repeat;
}

.soft_menu_container .soft_menu {
	display: table-cell;
	vertical-align: top;
}

.soft_menu_buttons {
	margin: 5px;
}

.soft_menu_container .soft_menu .soft_menu_button {
	display: block;
	height: 38px;
    padding-top: 24px;
    padding-left: 90px;
	font-size: 18px;
	font-weight: bold;
}

.soft_menu_item_cell {
	display: block;
	position: relative;
}

.soft_menu_item_cell.pressed {
	background-color: #395158;
}

.soft_menu_item_cell.pressed > div.soft_menu_button {
	color: #fff;
}

.soft_menu_item_text {
	position:absolute;
	top:21px;
	left:130px;
}

.soft_menu_item_icon {
	position:absolute;
	top:10px;
	left:25px;
}

.soft_menu_item_toggle {
	float:right;
	margin-right:25px;
	margin-top:17px;
}

.soft_menu_hr {
	margin-left: 9px;
}

/* SEARCH */

table#search_form {
    display: inline-table;
}

table#search_form td {
    vertical-align: middle;
    padding: 0 10px 0 10px;
}

#search_btn {
    width: 133px;
    height: 47px;
}

#search_error {
    color: red;
    margin-top: 20px;
}

/* TERMS */

.terms_popup {
	top: 0;
	position: fixed;
	z-index: 999999;
	height: 100%;
	padding-top: 45px;
}

.terms_text p {
	font-size: 18px;
	padding: 10px 20px 20px;
}

.terms_popup .buttons_container {
	text-align: center;
	padding: 5px 5px 15px;
}

.terms_popup .buttons_container .button {
	margin: 0 5px;
}

.terms_popup .top_controls_container {
	height: auto;
}

.terms_popup #terms_accept {
	text-align: center;
}

/** MINIVIEW **/
.mv_container {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 100000;
	display: none;
}

body.miniview .mv_container {
	display: block;
	width: 312px;
}

.mv_logo_container {
	width: 100%;
	height: 19px;
	padding-left: 4px;
	padding-top: 5px;
	width: 100%;
}

.mv_logo {
	width: 100%;
	height: 100%;
}

.mv_offline_logo {
	width: 100%;
	height: 100%;
}

.mv_item {
	display: table;
	width: 100%;
	height: 55px;
}

.mv_item_data {
	display: table-cell;
	text-align: left;
	padding: 5px;
}

.mv_scroller {
	max-height: 46px;
	overflow-y: hidden;
}

.mv_item_image  {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 90px;
	padding-left: 5px;
}
.mv_item_image img{
	border: 1px solid #464546;
	max-width: 80px;	
}

.mv_title {
	font-size: 14px;
	font-weight: bold;	
}
.mv_subtitle {
	font-size: 14px;
	font-weight: bold;
}

.mv_loader {
	width: 100%;
	height: 100%;
	position: fixed;
	top:0;
	left:0;
	display: table;
}

.mv_loader_positioner {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.mv_offline_icon {
	background: url(img/miniview/offline_icon.png) no-repeat;
	bottom:4px;
	height:21px;
	position:absolute;
	right:0;
	width:42px;
}

#screen_flash {
	position: relative;
	z-index:100002;
}

.debug_line {
	padding: 5px 5px;
	width: 590px;
	color: #fff;
	position: fixed;
	border: 1px solid #ccc;
	left: 20px;
	bottom: 84px;
	z-index: 9999;
	text-align: left;
}

.debug_line .debug_text {
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 15px;
	padding-right: 10px;
	background: left center no-repeat;
}

.debug_line .debug_text.battery {
	background-image: url(img/battery.png);
}

.debug_line .debug_text.signal {
	background-image: url(img/signal.png);
}
.debug_line .debug_text.anthena {
	background-image: url(img/anthena.png);
	padding-left: 19px;
}
.debug_line .debug_text.video {
	background-image: url(img/video.png);
	padding-left: 19px;
}

.debug {
	padding: 5px;
	color: #FFF;
	font-size: 16px;
	position: fixed;
	width: 590px;
	height: 64px;
	overflow: auto;
	left: 20px;
	bottom: 10px;
	z-index: 9999;
	border: 1px solid #ccc;
}


#static_startup {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	display: table;
	background: #000000;
	z-index: 30000;
}

#static_startup .startup_positioner {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 100%;
	height: 100%;
}